package Work13;

public class Student extends People {
    private int st_id;

    public Student(String name, String sex, int age, int st_id) {
        super(name, sex, age);
        this.st_id = st_id;
    }
    public void study(){
        System.out.println("我要好好学习");
    }

    @Override
    public String play() {
        return super.play()+"足球";
    }

    @Override
    public String toString() {
        return "Student{" +
                "st_id=" + st_id +
                '}'+super.toString();
    }
}
